package com.qianya.oa.mapper;

import com.qianya.oa.domain.FormInst;
import java.util.List;

import com.qianya.oa.domain.FormInstData;
import org.apache.ibatis.annotations.Param;

public interface FormInstMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FormInst record);

    int insertOrUpdate(FormInst record);

    int insertOrUpdateSelective(FormInst record);

    int insertSelective(FormInst record);

    FormInst selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FormInst record);

    int updateByPrimaryKey(FormInst record);

    int updateBatch(List<FormInst> list);

    int batchInsert(@Param("list") List<FormInst> list);

    FormInst selectByProcInstIdAndFormKey(@Param("procInstId") String procInstId, @Param("formKey") String formKey);
}